-- GENERATED SPELL FOR [Westfall Brigade Defender] --


function spell0_27758(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(14516,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_27758', 653, 1)
end

function Sorts_27758(pUnit, Event)
local choix_sorts_27758 = math.random(0, 0)
if choix_sorts_27758 == 0 then
pUnit:RegisterEvent('spell0_27758', 1, 1)
end
end

function mob27758_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27758', math.random(1500, 3000), 1)
end

function mob27758_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27758_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27758_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27758, 1, 'mob27758_Action')
RegisterUnitEvent(27758, 2, 'mob27758_Leave')
RegisterUnitEvent(27758, 3, 'mob27758_Kill')
RegisterUnitEvent(27758, 4, 'mob27758_Die')
